package com.franz.noteapp.room.repository

import com.franz.noteapp.bean.NoteBean
import kotlinx.coroutines.flow.Flow

interface NoteRepository {

    fun getNotes():Flow<List<NoteBean>>

    suspend fun getNote(id:Int): NoteBean?

    suspend fun insertNote(bean: NoteBean)

    suspend fun deleteNote(bean: NoteBean)
}